package edu.bw.controller.param;

import edu.bw.vo.Form;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/form")
public class FormController {


    /**
     * 绑定完整Form对象
     * @param form 表单对象
     * @return 视图名称
     */
    @PostMapping("/submitForm.do")
    public String submitForm(Form form) {
        System.out.println(form);
        return "success";
    }



}
